<!DOCTYPE html>
<html lang="en">

<head>

  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta name="description" content="">
  <meta name="author" content="">

  <title>药品虚假评论鉴别系统 - 药品评价</title>

  <!-- Custom fonts for this template -->
  <link href="../static/vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
  <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet">

  <!-- Custom styles for this template -->
  <link href="../static/css/sb-admin-2.min.css" rel="stylesheet">

  <!-- Custom styles for this page -->
  <link href="../static/vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">


</head>

<body id="page-top">


  <!-- Page Wrapper -->
  <div id="wrapper">

    <!-- Sidebar -->
    <ul class="navbar-nav bg-gradient-primary sidebar sidebar-dark accordion" id="accordionSidebar">

      <!-- Sidebar - Brand -->
      <a class="sidebar-brand d-flex align-items-center justify-content-center" href="(( url_for('index') ))">
        <div class="sidebar-brand-icon rotate-n-15">
          <i class="fas fa-plus-square"></i>
        </div>
        <div class="sidebar-brand-text mx-3">人工智能药品虚假评论鉴别系统</div>
      </a>

      <!-- Divider -->
      <hr class="sidebar-divider my-0">

      <!-- Nav Item - Dashboard -->
      <li class="nav-item">
        <a class="nav-link" href="(( url_for('index') ))">
          <i class="fas fa-fw fa-info-circle"></i>
          <span>药品信息</span></a>
      </li>

      <!-- Divider -->
      <hr class="sidebar-divider">

      <!-- Nav Item - Dashboard -->
      <li class="nav-item active">
        <a class="nav-link" href="(( url_for('tables') ))">
          <i class="fas fa-fw fa-table"></i>
          <span>买家评价</span></a>
      </li>

      <!-- Divider -->
      <hr class="sidebar-divider">

      <!-- Nav Item - Dashboard -->
      <li class="nav-item">
        <a class="nav-link" href="(( url_for('charts') ))">
          <i class="fas fa-fw fa-chart-area"></i>
          <span>结果分析</span></a>
      </li>

      <!-- Divider -->
      <hr class="sidebar-divider">

      <!-- Nav Item - Dashboard -->
      <li class="nav-item ">
        <a class="nav-link" href="(( url_for('store') ))">
          <i class="fas fa-fw fa-flag"></i>
          <span>店铺信用</span></a>
      </li>

      <!-- Divider -->
      <hr class="sidebar-divider d-none d-md-block">

      <!-- Sidebar Toggler (Sidebar) -->
      <div class="text-center d-none d-md-inline">
        <button class="rounded-circle border-0" id="sidebarToggle"></button>
      </div>

    </ul>
    <!-- End of Sidebar -->

    <!-- Content Wrapper -->
    <div id="content-wrapper" class="d-flex flex-column">

      <!-- Main Content -->
      <div id="content">

        <!-- Topbar -->
        <nav class="navbar navbar-expand navbar-light bg-white topbar mb-4 static-top shadow">

          <!-- Sidebar Toggle (Topbar) -->
          <button id="sidebarToggleTop" class="btn btn-link d-md-none rounded-circle mr-3">
            <i class="fa fa-bars"></i>
          </button>

          <!-- Topbar Search -->
          <form class="d-none d-sm-inline-block form-inline mr-auto ml-md-3 my-2 my-md-0 mw-100 navbar-search" method="POST">
            <div class="input-group">
              <input type="text" name="geturl" class="form-control bg-light border-0 small" placeholder="请输入所查询药品URL..." aria-label="Search" aria-describedby="basic-addon2">
              <div class="input-group-append">
                <button class="btn btn-primary" type="submit">
                  <i class="fas fa-search fa-sm"></i>
                </button>
              </div>
            </div>
          </form>

          <!-- Topbar Navbar -->
          <ul class="navbar-nav ml-auto">

            <!-- Nav Item - Search Dropdown (Visible Only XS) -->
            <li class="nav-item dropdown no-arrow d-sm-none">
              <a class="nav-link dropdown-toggle" href="#" id="searchDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                <i class="fas fa-search fa-fw"></i>
              </a>
              <!-- Dropdown - Messages -->
              <div class="dropdown-menu dropdown-menu-right p-3 shadow animated--grow-in" aria-labelledby="searchDropdown">
                <form class="form-inline mr-auto w-100 navbar-search" method="POST">
                  <div class="input-group">
                    <input type="text" name="geturl" class="form-control bg-light border-0 small" placeholder="请输入所查询药品URL..." aria-label="Search" aria-describedby="basic-addon2">
                    <div class="input-group-append">
                      <button class="btn btn-primary" type="submit">
                        <i class="fas fa-search fa-sm"></i>
                      </button>
                    </div>
                  </div>
                </form>
              </div>
            </li>

          </ul>

        </nav>
        <!-- End of Topbar -->

        <!-- Begin Page Content -->
        <div class="container-fluid">

          <!-- DataTales Example -->
          <div class="card shadow mb-4">
            <div class="card-header py-3">
              <h6 class="m-0 font-weight-bold text-primary">买家评价</h6>
            </div>
            <div class="card-body">
              <div class="table-responsive">
                <table class="table table-bordered" id="dataTable" width="100%" cellspacing="0">
                  <thead>
                    <tr>
                      <th>时间</th>
                      <th>类别</th>
                      <th>ID</th>
                      <th>评论</th>
                      <th width="9%">情感</th>
                      <!-- <th>Salary</th> -->
                    </tr>
                  </thead>
                  {% for comment in comments %}
                    <tr>
                      <th style="font-weight: normal;">((comment[0]))</th>
                      <th style="font-weight: normal;">((comment[1]))</th>
                      <th style="font-weight: normal;">((comment[2]))</th>
                      <th style="font-weight: normal;">((comment[3]))</th>
                      <th style="font-weight: normal;">((comment[7]))</th>
                    </tr>
                  {% endfor %}
                  <tfoot>
                    <tr>
                      <th>时间</th>
                      <th>类别</th>
                      <th>ID</th>
                      <th>评论</th>
                      <th>情感</th>
                      <!-- <th>Start date</th>
                      <th>Salary</th> -->
                    </tr>
                  </tfoot>
                  <tbody >
                    
                    
                    
                  </tbody>
                </table>
              </div>
            </div>
          </div>

        </div>
        <!-- /.container-fluid -->

      </div>
      <!-- End of Main Content -->

      <!-- Footer -->
      <footer class="sticky-footer bg-white">
        <div class="container my-auto">
          <div class="copyright text-center my-auto">
            <span>&copy; 人工智能药品虚假评论鉴别系统</span>
          </div>
        </div>
      </footer>
      <!-- End of Footer -->

    </div>
    <!-- End of Content Wrapper -->

  </div>
  <!-- End of Page Wrapper -->

  <!-- Scroll to Top Button-->
  <a class="scroll-to-top rounded" href="#page-top">
    <i class="fas fa-angle-up"></i>
  </a>

  

  <!-- Bootstrap core JavaScript-->
  <script src="(( url_for('static', filename='vendor/jquery/jquery.min.js') ))"></script>
  <script src="(( url_for('static', filename='vendor/bootstrap/js/bootstrap.bundle.min.js') ))"></script>

  <!-- Core plugin JavaScript-->
  <script src="(( url_for('static', filename='vendor/jquery-easing/jquery.easing.min.js') ))"></script>

  <!-- Custom scripts for all pages-->
  <script src="(( url_for('static', filename='js/sb-admin-2.min.js') ))"></script>

  <!-- Page level plugins -->
  <script src="(( url_for('static', filename='vendor/datatables/jquery.dataTables.min.js') ))"></script>
  <script src="(( url_for('static', filename='vendor/datatables/dataTables.bootstrap4.min.js') ))"></script>

  <!-- Page level custom scripts -->
  <script src="(( url_for('static', filename='js/demo/datatables-demo.js') ))"></script>

  

</body>

</html>


